/**
 * 获取当前页面路径
 * @returns 当前页面路径
 */
export function getCurrentPath() {
  const pages = getCurrentPages()
  const currentPage = pages[pages.length - 1]
  return currentPage.route || ''
}

export * from './platform'
export * from './screen'
export * from './wechat'
export * from './http'
export * from './errorMessages'

// 导出默认平台配置
export { default as platformConfig } from './platform'
